[INFO] cloning repository https://github.com/alex-karo/rust-test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alex-karo/rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex-karo%2Frust-test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex-karo%2Frust-test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 709e5574836ec13f469365d8c66dea2336c80732
[INFO] checking alex-karo/rust-test against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex-karo%2Frust-test" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/alex-karo/rust-test on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/alex-karo/rust-test
[INFO] finished tweaking git repo https://github.com/alex-karo/rust-test
[INFO] tweaked toml for git repo https://github.com/alex-karo/rust-test written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/alex-karo/rust-test already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 03a475e7af6b0eedd1924c3450ff5df523eb491d4a9555d6e46c0ad8b9b0149a
[INFO] running `Command { std: "docker" "start" "-a" "03a475e7af6b0eedd1924c3450ff5df523eb491d4a9555d6e46c0ad8b9b0149a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "03a475e7af6b0eedd1924c3450ff5df523eb491d4a9555d6e46c0ad8b9b0149a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03a475e7af6b0eedd1924c3450ff5df523eb491d4a9555d6e46c0ad8b9b0149a", kill_on_drop: false }`
[INFO] [stdout] 03a475e7af6b0eedd1924c3450ff5df523eb491d4a9555d6e46c0ad8b9b0149a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fcd908d7b112bf336497f424cb42181bbee0471d27a41f81469133a084da802
[INFO] running `Command { std: "docker" "start" "-a" "4fcd908d7b112bf336497f424cb42181bbee0471d27a41f81469133a084da802", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:70:27
[INFO] [stdout]    |
[INFO] [stdout] 70 |               Some(node) => {
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 71 | |
[INFO] [stdout] 72 | |             },
[INFO] [stdout]    | |_____________^ expected enum `Option`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<T>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:70:27
[INFO] [stdout]    |
[INFO] [stdout] 70 |               Some(node) => {
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 71 | |
[INFO] [stdout] 72 | |             },
[INFO] [stdout]    | |_____________^ expected enum `Option`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<T>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 self.curr = &self.head;
[INFO] [stdout]    |                 ---------   ^^^^^^^^^^ expected enum `Option`, found reference
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 expected due to the type of this binding
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<Box<Node<T>>>`
[INFO] [stdout]            found reference `&Option<Box<Node<T>>>`
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 74 -                 self.curr = &self.head;
[INFO] [stdout] 74 +                 self.curr = self.head;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 self.curr = &self.head;
[INFO] [stdout]    |                 ---------   ^^^^^^^^^^ expected enum `Option`, found reference
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 expected due to the type of this binding
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<Box<Node<T>>>`
[INFO] [stdout]            found reference `&Option<Box<Node<T>>>`
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 74 -                 self.curr = &self.head;
[INFO] [stdout] 74 +                 self.curr = self.head;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |               None => {
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 74 | |                 self.curr = &self.head;
[INFO] [stdout] 75 | |             }
[INFO] [stdout]    | |_____________^ expected enum `Option`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<T>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |               None => {
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 74 | |                 self.curr = &self.head;
[INFO] [stdout] 75 | |             }
[INFO] [stdout]    | |_____________^ expected enum `Option`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<T>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-test` due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-test` due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "4fcd908d7b112bf336497f424cb42181bbee0471d27a41f81469133a084da802", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fcd908d7b112bf336497f424cb42181bbee0471d27a41f81469133a084da802", kill_on_drop: false }`
[INFO] [stdout] 4fcd908d7b112bf336497f424cb42181bbee0471d27a41f81469133a084da802
